﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class HisEducationInfo : RecordInfo
    {
        private int edu_his_seq;
        private EmployeeInfo emp_seq;
        private MasEducationDegreeInfo edu_degree_seq;
        private MasEducationQualificationInfo edu_qual_seq;
        private MasEducationMajorInfo edu_major_seq;
        private MasEducationInstituteInfo edu_ins_seq;
        private Nullable<int> edu_start_year;
        private Nullable<int> edu_end_year;
        private Nullable<DateTime> start_date;
        private Nullable<DateTime> end_date;
        private Nullable<decimal> gpa;

        public HisEducationInfo()
        { 
        }
        public HisEducationInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public HisEducationInfo(int Sequence, EmployeeInfo Employee, MasEducationDegreeInfo Degree
            , MasEducationQualificationInfo Qualification, MasEducationMajorInfo Major
            , MasEducationInstituteInfo Institute, Nullable<int> EduStartYear, Nullable<int> EduEndYear
            , Nullable<DateTime> StartDate, Nullable<DateTime> EndDate, Nullable<decimal> GPA
            , string Remarks, string RecordStatus, Nullable<int> CreatedBy, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.Employee = Employee;
            this.Degree = Degree;
            this.Qualification = Qualification;
            this.Major = Major;
            this.Institute = Institute;
            this.EduStartYear = EduStartYear;
            this.EduEndYear = EduEndYear;
            this.StartDate = StartDate;
            this.EndDate = EndDate;
            this.GPA = GPA;
            this.Remarks = Remarks;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public int Sequence
        {
            get { return edu_his_seq; }
            set { edu_his_seq = value; }
        }
        public EmployeeInfo Employee
        {
            get { return emp_seq; }
            set { emp_seq = value; }
        }
        public MasEducationDegreeInfo Degree
        {
            get { return edu_degree_seq; }
            set { edu_degree_seq = value; }
        }
        public MasEducationQualificationInfo Qualification
        {
            get { return edu_qual_seq; }
            set { edu_qual_seq = value; }
        }
        public MasEducationMajorInfo Major
        {
            get { return edu_major_seq; }
            set { edu_major_seq = value; }
        }
        public MasEducationInstituteInfo Institute
        {
            get { return edu_ins_seq; }
            set { edu_ins_seq = value; }
        }
        public Nullable<int> EduStartYear
        {
            get { return edu_start_year; }
            set { edu_start_year = value; }
        }
        public Nullable<int> EduEndYear
        {
            get { return edu_end_year; }
            set { edu_end_year = value; }
        }
        public Nullable<DateTime> StartDate
        {
            get { return start_date; }
            set { start_date = value; }
        }
        public Nullable<DateTime> EndDate
        {
            get { return end_date; }
            set { end_date = value; }
        }
        public Nullable<decimal> GPA
        {
            get { return gpa; }
            set { gpa = value; }
        }

    }
}
